<template>
  <div id="app">
    <!-- <Layout> -->
    <router-view />
    <!-- </Layout> -->
  </div>
</template>
<script>
import Layout from './layout/index.vue'
export default {
  components: { Layout },
  data() {
    return {
      timer: '',
    }
  },
  destroyed() {
    this.timer = null
  },
}
</script>

<style lang="scss">
html,
body,
#app {
  width: 100%;
  height: 100%;
}
html {
  // vw + rem
  font-size: 13.33333333vw;
  // font-size: calc(100 / 750 * 100vw);
}

body {
  font-size: 16px;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

// nav {
//   padding: 30px;

//   a {
//     font-weight: bold;
//     color: #2c3e50;

//     &.router-link-exact-active {
//       color: #42b983;
//     }
//   }
// }
</style>
